style>

<template>
  <Schedule
    :courses="courses"
    :openclass="openclass"
    :teachercolor="teachercolor"
    :coursecolor="coursecolor"
    ></Schedule>
</template>

<script>
// import {}
// @ is an alias to /src
import course05 from '@/course/java/05'
import course06 from '@/course/java/06'
import Schedule from '@/components/Schedule.vue'
export default {
  components: {
    Schedule
  },
  data () {
    return {
      coursecolor: {
        '五': 'primary',
        '六': 'success'
        // '九':"danger",
        // '十':"warning",
      },
      teachercolor: {
        '灭霸詹': 'primary',
        '郭老师': 'success',
        '江老师': 'danger'
        // '盛老师':"warning",
        // '厉老师':"info",
      },
      openclass: [
        // {
        //   date:'2019-04-23',
        //   teacher:'盛老师',
        //   content:'手写webpack源码',
        //   type:'open',
        // },
      ],
      courses: [
        {
          title: '全部'
          // data: course09,
          // startDate: "2019-03-15"
        },
        {
          title: '第五期',
          data: course05,
          startDate: '2019-03-20'
        },
        {
          title: '第六期',
          data: course06,
          startDate: '2019-05-07'
        }

      ]
    }
  }
}
</script>
